<?php

	$list[101] = [
		'status'	=>	0,
		'qInfo'		=>	[						
			'id'			=>	'101',
			'sort'			=>	'1',
			'title'			=>	'101我们想要让当前页面的背景色为蓝色，应该使用哪一句代码来描述此种设置？',
			'type'			=>	'0',
			'tagId'			=> 	'1',
			'tagName'		=>	'PHP基础12',
			'answer'		=>	'201',
			'optionList'	=>	[
				['id'=>201,'des'=>'bgcolor="blue"'],
				['id'=>202,'des'=>'bgcolor="yellow"'],
				['id'=>203,'des'=>'bgcolor="green"'],
				['id'=>204,'des'=>'bgcolor="red"'],
			],
			'_children'	=>	[
				[
					'id'			=>	'102',
					'sort'			=>	'1',
					'title'			=>	'102我们想要让当前页面的背景色为蓝色，应该使用哪一句代码来描述此种设置？',
					'type'			=>	'1',
					'tagId'			=> 	'2',
					'tagName'		=>	'PHP基础12',
					'answer'		=>	'',
					'optionList'	=>	[
						['id'=>201,'des'=>'bgcolor="blue"'],
						['id'=>202,'des'=>'bgcolor="yellow"'],
						['id'=>203,'des'=>'bgcolor="green"'],
						['id'=>204,'des'=>'bgcolor="red"'],
					],
				],
				[
					'id'			=>	'103',
					'sort'			=>	'2',
					'title'			=>	'103我们想要让当前页面的背景色为蓝色，应该使用哪一句代码来描述此种设置？',
					'type'			=>	'0',
					'tagId'			=> 	'3',
					'tagName'		=>	'PHP基础12',
					'answer'		=>	'',
					'optionList'	=>	[
						['id'=>201,'des'=>'bgcolor="blue"'],
						['id'=>202,'des'=>'bgcolor="yellow"'],
						['id'=>203,'des'=>'bgcolor="green"'],
						['id'=>204,'des'=>'bgcolor="red"'],
					],
				],
				[
					'id'			=>	'104',
					'sort'			=>	'3',
					'title'			=>	'104我们想要让当前页面的背景色为蓝色，应该使用哪一句代码来描述此种设置？',
					'type'			=>	'1',
					'tagId'			=> 	'4',
					'tagName'		=>	'PHP基础12',
					'answer'		=>	'',
					'optionList'	=>	[
						['id'=>201,'des'=>'bgcolor="blue"'],
						['id'=>202,'des'=>'bgcolor="yellow"'],
						['id'=>203,'des'=>'bgcolor="green"'],
						['id'=>204,'des'=>'bgcolor="red"'],
					],
				],
			]
			
		]
	];
	
	$list[105] = [
		'status'	=>	0,
		'qInfo'		=>	[						
			'id'			=>	'105',
			'sort'			=>	'2',
			'title'			=>	'你是猪吗？',
			'type'			=>	'1',
			'tagId'			=> 	'5',
			'tagName'		=>	'PHP基础',
			'answer'		=>	'',
			'optionList'	=>	[
				['id'=>201,'des'=>'bgcolor="blue"'],
				['id'=>202,'des'=>'bgcolor="yellow"'],
				['id'=>203,'des'=>'bgcolor="green"'],
				['id'=>204,'des'=>'bgcolor="red"'],
			],
			'_children'		=>	null
		]
	];

	$list[106] = [
		'status'	=>	0,
		'qInfo'		=>	[						
			'id'			=>	'106',
			'sort'			=>	'3',
			'title'			=>	'这是简单题',
			'type'			=>	'2',
			'tagId'			=> 	'6',
			'tagName'		=>	'PHP基础',
			'answer'		=>	'',
			'optionList'	=>	null,
			'_children'		=>	null
		]
	];

	$answer = [["index.php","123.php"],["upload.php","4safd.php"],["edit.php","asdfas.php"]];

	$list[107] = [
		'status'	=>	0,
		'qInfo'		=>	[						
			'id'			=>	'107',
			'sort'			=>	'4',
			'title'			=>	'这是简单题',
			'type'			=>	'3',
			'tagId'			=> 	'7',
			'tagName'		=>	'PHP基础',
			'answer'		=>	$answer,
			'optionList'	=>	null,
			'_children'		=>	null
		]
	];
	if( empty($_POST)){
		exit(json_encode($list[105]));
	}else{
		exit( json_encode($list[$_POST['qNumber']]) );
	}
	